//
//  SINAStueHomeActivityItemTableViewCell.h
//  sinashebao
//
//  Created by  androidlongs on 2018/1/16.
//  Copyright © 2018年  androidlongs. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SINAStuHomeCoursItemModel.h"
#import "SINAViewShadowUtils.h"

typedef void(^ItemTableCellBlock) (NSInteger pos,BOOL isShow,SINAStuHomeCoursItemModel *itemModel);
//删除组队回调
typedef void(^ItemDeleteCellBlock) (NSInteger pos,BOOL isShow,SINAStuHomeCoursItemModel *itemModel);
//取消组队回调
typedef void(^ItemCancleTeamCellBlock) (NSInteger pos,BOOL isShow,SINAStuHomeCoursItemModel *itemModel);
//查看详情页面
typedef void(^ItemActivityDesTeamCellBlock) (NSInteger pos,NSInteger flag,SINAStuHomeCoursItemModel *itemModel);
//组队完成点击回调
typedef void(^ItemActivityFinishCellBlock) (NSInteger pos,NSInteger flag,SINAStuHomeCoursItemModel *itemModel);
//添加项目
typedef void(^ItemAddTeamCellBlock) (NSInteger pos);


@interface SINAStueHomeActivityItemTableViewCell : UITableViewCell
@property(nonatomic,assign) NSInteger pos;
@property(nonatomic,assign) NSInteger totalNumber;
@property(nonatomic,strong)SINAStuHomeCoursItemModel *model;
//当前条目的位置
@property(nonatomic,assign) NSInteger position;

@property(nonatomic,copy) ItemTableCellBlock itemCellBlock;
//删除回调
@property(nonatomic,copy) ItemDeleteCellBlock itemDeleteBlock;
//取消组队回调
@property(nonatomic,copy) ItemCancleTeamCellBlock itemCancleBlock;
//添加项目的回调
@property(nonatomic,copy) ItemAddTeamCellBlock addItemBlock;
//完成活动回调
@property(nonatomic,copy) ItemActivityFinishCellBlock finishItemBlock;
//查看活动详情回调
@property(nonatomic,copy) ItemActivityDesTeamCellBlock activityDesItemBlock;
@end
